/*
 * Authentication.h
 *
 *  Created on: Apr 4, 2011
 *      Author: trietto
 */

#ifndef AUTHENTICATION_H_
#define AUTHENTICATION_H_

#include <FBase.h>
#include "IQ.h"
#include "xmpp/util/StringUtils.h"

using namespace Osp::Base;

class Authentication :
	public IQ{
public:
	Authentication();
	virtual ~Authentication();
public:
    String getDigest();
    String getPassword();
    String getResource();
    String getUsername();
    void setDigest(String connectionID, String password);
    void setPassword(String password);
    void setResource(String resource);
    void setUsername(String username);
    virtual String getChildElementXML();
private:
	String __username;
	String __password;
	String __digest;
	String __resource;
};

#endif /* AUTHENTICATION_H_ */
